/**
 * ThankYouFooter - Prints our the thank you message for the bill.
 * 
 * CS575 Software Design
 * Group 6
 * Group Members: Anthony Davidson, Kendra Scheesley, Lyndsey Whitman, Stephen Zakrewsky
 * Date: May 19, 2012
 * Main Author(s): Lyndsey Whitman
 * 
 * Modified: 6/1 Stephen Zakrewsky
 */

package edu.drexel.cs575.a3;

import edu.drexel.cs575.a3.location.LocaleEnum;
import edu.drexel.cs575.a3.location.Location;
import edu.drexel.cs575.a3.location.LocationProvider;

public class ThankYouFooter extends BillDecorator
{
	public ThankYouFooter(Bill myBill)
	{
		super(myBill);
	}
	
	public void printBill()
	{
		// The footer should also give some sort of thank you message 
		// based  on the locale, ie. Thank you for shopping on the Moon!
		super.printBill();
		
		Location location = LocationProvider.getInstance().getLocation();
		LocaleEnum locale = location.getLocaleEnum();
		
		display("Thank you for shopping in " + locale.getCountryName());
	}
}
